<%@page contentType="text/html;charset=utf-8" language="java" %>

<!DOCTYPE html>
<html>

<%
String regionId = (String)request.getParameter("regionId");
String regionName = (String)request.getParameter("regionName");
if(regionId!=null){
	regionId=Base64.decode(regionId);
}else{
	regionId = "";
}
if( regionName == null ){
	regionName = "";
}
%>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<%@include file="../common/jsp/common.jsp"%>
<title><%=InitParam.DEPLOY_PROVINCE_TITLE%></title>
<script>
	var in_regionId = '<%=regionId%>';
	var in_regionName = '<%=regionName%>';
	if( in_regionName != null && in_regionName.length != 0 ){
		in_regionName = decodeURIComponent(in_regionName);
	}
	requires(["laydate","echarts","customselect", "zhly","/zhly/analysis_trend.js"]);
</script>

</head>
<body>
	<!--content begin-->
	<div class="content">
		<div class="box blankBox">
			<div class="left_titleBox">
				<!--标题 begin-->
				<div class="select_top">
					<a class="but_backa" onclick="history.go(-1)"></a>
					<div class="select_pre">
						<span>区域</span>
						<p id="citySelect" class="hasCitySelect"><span id="citySelectSpan"></span><b class="click_arrow"></b></p>
						<ul class="select_content" id="cityListInfo">
						</ul>
					</div>
				
					<div class="select_pre">
						<span>景区类型</span>
						<p id="regionTypleSelect" class="hasRegionTypleSelect"><span id="regionTypleSpan"></span><b class="click_arrow"></b></p>
						<ul id="regionTypleInfo" class="select_content">
						</ul>
					</div>
				
					<div class="select_pre">
						<span style="margin-right: 24px;">景区</span>
						<div id="divselect" class="divselect">
						<input id="divselectInput" type="text" value="搜索景区，请输入名称" focusstatus="true" class="hasRegionList">
						<ul style="width: 140px;margin-top: 2px;" id="RegionListInfo" class="select_content">
						</ul>
						</div>
						<input id="inputselect" value="" style="display: none">
						<select id="selectId" style="display: none;"></select>
					</div>
					<div class="select_pre select_date">
						<input  type="radio" name="dataTimeType" value="month"/>
						<b>月</b>
						<input  checked="checked"  type="radio" name="dataTimeType" value="day" />
						<b>日</b>
						<input  type="radio" name="dataTimeType" value="hour"/>
						<b>时</b>
						
					</div>
					<div class="select_pre" id="dateTimeStart">
						<span>开始时间</span>
						 <div id="dateStartDiv" style="border: 1px solid #e8e8e8; float: left; margin-left: 6px;margin-top: 0px;">
						  <input style="height: 28px;width:96px;line-height:28px;border: 0px;color: #c6c6c6;padding-left:6px;" type="text" id="dateStart" />
						  <label for="dateStart"><b class="calendar"></b></label>
				 		</div>
					</div>
					<div class="select_pre" id="dateTimeOnly"  style="display:none;">
						<span>日期选择</span>						 
				 		<div id="dateTimeDiv" style="border: 1px solid #e8e8e8; float: left; margin-left: 6px;margin-top: 0px;">
						  <input style="height: 28px;width:96px;line-height:28px;border: 0px;color: #c6c6c6;padding-left:6px;" type="text" id="dateTime" />
						  <label for="dateTime"><b class="calendar"></b></label>
				 		</div>
					</div>
					<div class="select_pre" id="dateTimeEnd">
						<span>结束时间</span>
						 <div id="dateEndDiv" style="border: 1px solid #e8e8e8; float: left; margin-left: 6px;margin-top: 0px;">
						  <input style="height: 28px;width:96px;line-height:28px;border: 0px;color: #c6c6c6;padding-left:6px;" type="text" id="dateEnd" />
						  <label for="dateEnd"><b class="calendar"></b></label>
				 		</div>				 		
					</div>
				
					<!-- <div class="select_pre">
						<span>结束时间</span>
						<p>2016-04-29<b class="calendar"></b></p>
					</div> -->
				
					<button type="submit" class="select_button">查 询</button>
				</div>
				<!--标题 end-->
			</div>
             <!--趋势分析 -->
			<div class="box_analysis" style="height: 560px;">
               <!--时间选择 -->
				<div class="titlename_analysis">
					
				</div>
               <!--时间选择 end-->
               <div style="height: 500px;border:1px solid #effafe;">
               	<div class="exportData" id="exportData">下载导出</div>
               	<div class="chart_trendanalysis" id="trendChartsDiv"></div>
               </div>
            </div>
            <!--趋势分析end -->
		</div>
	</div>
	<!--content end-->
</body>
</html>
